package user

import (
	"time"
)

const UserGameName = "user_game"

type UserGame struct {
	Id     int         `json:"id" orm:"auto" sql:"INT"`
	UserId int         `json:"user_id" sql:"INT"`
	Type   GameType    `json:"type" sql:"INT"`
	People int         `json:"people" sql:"INT"`
	Result interface{} `json:"result" sql:"JSON"`

	StartTime  *time.Time `json:"start_time" sql:"DATETIME"`
	CreateTime *time.Time `json:"create_time" orm:"createTime" sql:"DATETIME"`
}
